package com.sty.service.impl;

import com.sty.mapper.pay.UserMapper;
import com.sty.pojo.Users;
import com.sty.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;

@Service
public class UserServiceImpl implements UserService {
	@Override
	public Users queryUserInfo(String userId, String pwd) {
		return null;
	}

//	@Autowired
//	private UserMapper usersMapper;
//
//	@Transactional(propagation=Propagation.SUPPORTS)
//	@Override
//	public Users queryUserInfo(String userId, String pwd) {
//
//		Users user = new Users();
//		user.setImoocUserId(userId);
//		user.setPassword(pwd);
//
//		return usersMapper.selectOne(user);
//	}

}
